home *** CD-ROM | disk | FTP | other *** search
- on goPurchaseInfo direction
- global selectedpiecelist, helpsquareoff, transition
- if transition then
- exit
- end if
- setidletype(-1)
- set the keyDownScript to "nothing"
- set the keyUpScript to "nothing"
- set the member of sprite 119 to member "Blank"
- set the member of sprite 120 to member "Blank"
- dissolveScene()
- updateStage()
- if the platform contains "win" then
- puppetPalette("Windows Palette", 60)
- end if
- set selectedpiecelist to []
- set helpsquareoff to 0
- resetSprites()
- makeinkCopy(1, 120)
- setStage("Purchase Info")
- if direction = 1 then
- set pushtype to 12
- end if
- if direction = 2 then
- set pushtype to 13
- end if
- if direction = 3 then
- set pushtype to 11
- end if
- if direction = 4 then
- set pushtype to 14
- end if
- puppetTransition(pushtype, 3, 64, 0)
- go(1)
- updateStage()
- setOrderSpriteGlobals()
- setidletype(6)
- set transition to 1
- end
-
- on goOrderForm
- global wrongentrycount, transition
- if transition then
- exit
- end if
- setidletype(-1)
- if the platform contains "win" then
- puppetPalette("Windows Palette", 60)
- end if
- set wrongentrycount to 0
- resetSprites()
- makeinkCopy(1, 120)
- setStage("Order Form")
- updateStage()
- setOrderSpriteGlobals()
- set membernamelist to ["First Name", "Middle Initial", "Last Name", "Card # 1", "Card # 2", "Card # 3", "Card # 4", "Exp Month", "Exp Year", "Area", "Phone # 1", "Phone # 2"]
- repeat with n = 12 down to 1
- set membername to getAt(membernamelist, n)
- set thechannel to getChannel(membername)
- set the editableText of sprite thechannel to 1
- set the cursor of sprite thechannel to 1
- set the text of member membername to EMPTY
- end repeat
- setidletype(7)
- set transition to 1
- end
-
- on goCallSafeCharge
- global SCnumbersprite, entercodesprite, transition
- if transition then
- exit
- end if
- setidletype(-1)
- if the platform contains "win" then
- puppetPalette("Windows Palette", 60)
- end if
- resetSprites()
- makeinkCopy(1, 120)
- setStage("Call SafeCharge")
- updateStage()
- setOrderSpriteGlobals()
- set the editableText of sprite getChannel("Key Code") to 1
- set the text of member "Key Code" to EMPTY
- set SCnumbersprite to getChannel("Phone Red Text")
- set entercodesprite to getChannel("Enter Code") + 2
- setidletype(8)
- set transition to 0
- end
-
- on goReceipt
- global transition
- if transition then
- exit
- end if
- setidletype(-1)
- if the platform contains "win" then
- puppetPalette("Windows Palette", 60)
- end if
- resetSprites()
- makeinkCopy(1, 120)
- setStage("Receipt")
- updateStage()
- setOrderSpriteGlobals()
- repeat with channel = 11 to 20
- puppetSprite(channel, 1)
- set the editable of the member of sprite channel to 0
- end repeat
- updateStage()
- setidletype(9)
- set transition to 1
- end
-
- on goReRegister
- global wrongentrycount, transition
- if transition then
- exit
- end if
- setidletype(-1)
- if the platform contains "win" then
- puppetPalette("Windows Palette", 60)
- end if
- set wrongentrycount to 0
- resetSprites()
- makeinkCopy(1, 120)
- setStage("ReRegister")
- updateStage()
- setOrderSpriteGlobals()
- set membernamelist to ["First Name", "Middle Initial", "Last Name", "Card # 1", "Card # 2", "Card # 3", "Card # 4", "Exp Month", "Exp Year", "Area", "Key Code"]
- repeat with n = count(membernamelist) down to 1
- set membername to getAt(membernamelist, n)
- set thechannel to getChannel(membername)
- set the editableText of sprite thechannel to 1
- set the cursor of sprite thechannel to 1
- set the text of member membername to EMPTY
- end repeat
- setidletype(10)
- set transition to 1
- end
-